.class Lcom/example/m6wmr/BuyActivity$2;
.super Ljava/lang/Object;
.source "BuyActivity.java"

# interfaces
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/BuyActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/BuyActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/BuyActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/BuyActivity$2;->this$0:Lcom/example/m6wmr/BuyActivity;

    .line 79
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onCheckedChanged(Landroid/widget/CompoundButton;Z)V
    .locals 4
    .param p1, "buttonView"    # Landroid/widget/CompoundButton;
    .param p2, "isChecked"    # Z

    .prologue
    .line 84
    if-eqz p2, :cond_0

    .line 85
    iget-object v0, p0, Lcom/example/m6wmr/BuyActivity$2;->this$0:Lcom/example/m6wmr/BuyActivity;

    # getter for: Lcom/example/m6wmr/BuyActivity;->ll:Landroid/widget/LinearLayout;
    invoke-static {v0}, Lcom/example/m6wmr/BuyActivity;->access$0(Lcom/example/m6wmr/BuyActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 93
    :goto_0
    return-void

    .line 88
    :cond_0
    iget-object v0, p0, Lcom/example/m6wmr/BuyActivity$2;->this$0:Lcom/example/m6wmr/BuyActivity;

    # getter for: Lcom/example/m6wmr/BuyActivity;->ll:Landroid/widget/LinearLayout;
    invoke-static {v0}, Lcom/example/m6wmr/BuyActivity;->access$0(Lcom/example/m6wmr/BuyActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 89
    iget-object v0, p0, Lcom/example/m6wmr/BuyActivity$2;->this$0:Lcom/example/m6wmr/BuyActivity;

    # getter for: Lcom/example/m6wmr/BuyActivity;->tv_price:Landroid/widget/TextView;
    invoke-static {v0}, Lcom/example/m6wmr/BuyActivity;->access$1(Lcom/example/m6wmr/BuyActivity;)Landroid/widget/TextView;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/example/m6wmr/BuyActivity$2;->this$0:Lcom/example/m6wmr/BuyActivity;

    iget-wide v2, v2, Lcom/example/m6wmr/BuyActivity;->pp:D

    invoke-static {v2, v3}, Ljava/lang/String;->valueOf(D)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 90
    iget-object v0, p0, Lcom/example/m6wmr/BuyActivity$2;->this$0:Lcom/example/m6wmr/BuyActivity;

    const-string v1, "0"

    invoke-static {v0, v1}, Lcom/example/m6wmr/BuyActivity;->access$2(Lcom/example/m6wmr/BuyActivity;Ljava/lang/String;)V

    .line 91
    iget-object v0, p0, Lcom/example/m6wmr/BuyActivity$2;->this$0:Lcom/example/m6wmr/BuyActivity;

    # invokes: Lcom/example/m6wmr/BuyActivity;->initjia()V
    invoke-static {v0}, Lcom/example/m6wmr/BuyActivity;->access$3(Lcom/example/m6wmr/BuyActivity;)V

    goto :goto_0
.end method
